{% extends 'users/base.html' %}
{% load crispy_forms_tags %}

{% block title %}Password Reset - {{ block.super }}{% endblock %}

{% block header %}
{% if token_fail %}Bad Token{% else %}Reset your password{% endif %}
{% endblock %}

{% block content %}

    {% if token_fail %}
        {% url 'account_reset_password' as passwd_reset_url %}
        <p>
            The password reset link was invalid, possibly because it has already been used.  Please request a <a href="{{ passwd_reset_url }}">new password reset</a>.
        </p>
    {% else %}
        {% crispy form %}
    {% endif %}

{% endblock %}
